package novel.mzx.com.http;

import novel.mzx.com.utils.SPUtil;

public class SpDataUtils {

    public static String getAccount(){
        String account = SPUtil.getInstance().getString("account");
        return account;
    }

    public static String getUserId(){
        String memberId = SPUtil.getInstance().getString("memberId");
        return memberId;
    }


    public static String getUserName(){
        String username = SPUtil.getInstance().getString("username");
        return username;
    }
    public static String getUserLogo(){
        String userlogo = SPUtil.getInstance().getString("userlogo");
        return userlogo;
    }

    public static String getClassName(){
        String className = SPUtil.getInstance().getString("className");
        return className;
    }

    public static String getMajorName(){
        String majorName = SPUtil.getInstance().getString("majorName");
        return majorName;
    }


    public static String getUserPhone(){
        String username = SPUtil.getInstance().getString("username");
        return username;
    }

    public static String getRole(){
        String role = SPUtil.getInstance().getString("role");
        return role;
    }

}
